package com.jmb.waimao.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * Configuration for Alibaba AI
 */
@Configuration
public class AlibabaAIConfig {

    @Value("${spring.ai.alibaba.api-key:your-api-key}")
    private String apiKey;

    @Value("${spring.ai.alibaba.model:qwen-max}")
    private String model;

    @Value("${spring.ai.alibaba.options.temperature:0.7}")
    private double temperature;

    @Value("${spring.ai.alibaba.options.max-tokens:2000}")
    private int maxTokens;

    public String getApiKey() {
        return apiKey;
    }

    public String getModel() {
        return model;
    }

    public double getTemperature() {
        return temperature;
    }

    public int getMaxTokens() {
        return maxTokens;
    }
}
